import { createWebHistory, createRouter } from 'vue-router'

import Home from '../views/home/index.vue'
import Upload from '../views/upload/index.vue'
import VitualList from '../views/vitual-list/index.vue'

const routes = [
  { path: '/', name: 'M0001', component: Home },
  { path: '/upload', name: 'M0002', component: Upload },
  { path: '/vitual-list', name: 'M0003', component: VitualList },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router